package cn.edu.zafu.bigdata.zengyadian;

public class Course1 {
    private final String courseName;
    private final String courseId;
    private final String teacher;

    public Course1(String courseName, String courseId, String teacher) {
        this.courseName = courseName;
        this.courseId = courseId;
        this.teacher = teacher;
    }

    public void print(){
        System.out.println("课程名称: " + courseName);
        System.out.println("课程编号: " + courseId);
        System.out.println("教师: " + teacher);
    }
    public static void main(String[] args) {
        cn.edu.zafu.bigdata.zengyadian.Course1 Course1 = new cn.edu.zafu.bigdata.zengyadian.Course1("java面向对象程序设计", "123456789", "吴鹏");
        Course1.print();
    }
}
